# define _CRT_SECURE_NO_WARNINGS 1
# include<stdio.h>

int main()
{
	int i = 0;
	int arr[] = { 1,2,3,4,5,6,7 };
	int sz = sizeof(arr) / sizeof(arr[0]);
	int right = sz - 1;

	for (i = 0; i<=(sz-1)/2; i++)
	{
		int ret = 0;
		ret = arr[i];
		arr[i] = arr[right-i];
		arr[right-i] = ret;
		
	}
	for (i = 0; i < sz; i++)
	{

		printf("%d ", arr[i]);
	}

	return 0;
}